home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / ami301c.zip / FLWCOPY.SM$ / FLWCOPY.SMM
INI File  |  1993-05-13  |  35KB  |  1,832 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _MACRO.STY
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     Apple LaserWriter Plus
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Collect and Copy for Freelance for Windows.
  19.     
  20.     
  21.     
  22.     
  23.     737357880
  24.     23
  25.     731818190
  26.     695
  27.     8
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Times New Roman
  60.         200
  61.         0
  62.         16384
  63.     [algn]
  64.         1
  65.         1
  66.         216
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         16
  99.         0
  100.         0
  101.     [nfmt]
  102.         272
  103.         1
  104.         3
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Function
  169.     4
  170.     [fnt]
  171.         Times New Roman
  172.         240
  173.         0
  174.         16385
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         0
  180.         0
  181.     [spc]
  182.         33
  183.         244
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         68
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         1
  205.         
  206.         0
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         3
  217.         .
  218.         ,
  219.         $
  220.     Body Text
  221.     0
  222.     0
  223. [tag]
  224.     Outline2
  225.     5
  226.     [fnt]
  227.         Times New Roman
  228.         200
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         216
  235.         0
  236.         0
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         2
  261.         
  262.         0
  263.         1
  264.         1
  265.         0
  266.         16
  267.         0
  268.         0
  269.     [nfmt]
  270.         272
  271.         1
  272.         3
  273.         .
  274.         ,
  275.         $
  276.     Outline2
  277.     0
  278.     0
  279. [tag]
  280.     Outline3
  281.     6
  282.     [fnt]
  283.         Times New Roman
  284.         200
  285.         0
  286.         16384
  287.     [algn]
  288.         1
  289.         1
  290.         216
  291.         0
  292.         0
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         3
  317.         
  318.         0
  319.         1
  320.         1
  321.         0
  322.         16
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         3
  329.         .
  330.         ,
  331.         $
  332.     Outline3
  333.     0
  334.     0
  335. [tag]
  336.     Outline4
  337.     7
  338.     [fnt]
  339.         Times New Roman
  340.         200
  341.         0
  342.         16384
  343.     [algn]
  344.         1
  345.         1
  346.         216
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         0
  354.         0
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         4
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         16
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         3
  385.         .
  386.         ,
  387.         $
  388.     Outline4
  389.     0
  390.     0
  391. [l1]
  392.     0
  393. [pg]
  394.     8
  395.     52 0 58 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  396.     102 0 24 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  397.     155 0 6 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  398.     208 0 12 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  399.     261 0 11 0 1 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  400.     309 0 17 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  401.     361 0 7 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  402.     410 0 15 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  403. [edoc]
  404. @Function@<:#284,9360>'declares & defines
  405.  
  406. @Outline2@<:#240,9360>'string defines, to be localized
  407.  
  408. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define MyAppName    "Ami Pro Collect & Copy"
  409.  
  410. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define apptitle        "Freelance Graphics"
  411.  
  412. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_cantlaunchapp    "Unable to launch Freelance for Windows."
  413.  
  414. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_cantfindapp        "Unable to find Freelance for Windows."<:f>
  415.  
  416. @Outline3@<:f200,2Times New Roman,255,0,0>define err_nofilesopen        "You must have a presentation 
  417. <:f><:f200,2Times New Roman,255,0,0>open to use Collect and Copy.<:f><:f200,2Times New Roman,255,0,0>"
  418.  
  419. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_appmustberunning    "Freelance must be running to 
  420. <:f><:f200,2Times New Roman,255,0,0>use Collect and Copy<:f><:f200,2Times New Roman,255,0,0>.<:f><:f200,2Times New Roman,255,0,0>"<:f>
  421.  
  422. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_selectonlyoneslide<:f><:f200,2Times New Roman,255,0,0>    "Please select a single slide<:f><:f200,2Times New Roman,255,0,0>."
  423.  
  424. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_cantfindmenu    "Cannot locate the correct menu."
  425.  
  426. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_cantfindmenubar    "Cannot locate the menu bar."
  427.  
  428. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define FLW_WINDOWMENU    "&Window"
  429.  
  430. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define FLW_TILEITEM        "&Tile"<:f>
  431.  
  432. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>defin<:f200,2Times New Roman,255,0,0>e err_maybenotinslidesorter<:f><:f200,2Times New Roman,255,0,0>    "Cannot paste from this view."<:f>
  433.  
  434. @Outline2@<:#240,9360>'string defines, not to be localized
  435.  
  436. @Outline3@<:#240,9360>define appname    "FLW"
  437.  
  438. @Outline3@<:#240,9360>define appmodule    "FLWMAIN"
  439.  
  440. @Outline3@<:#240,9360>define appclass    "flwapp"
  441.  
  442. @Outline3@<:#240,9360>define pasteformat    "Windows Metafile"
  443.  
  444. @Outline3@<:#240,9360>define LotusIniFile    "lotus.ini"
  445.  
  446. @Outline3@<:#240,9360>define LotusAppSection    "Lotus Applications"
  447.  
  448. @Outline3@<:#240,9360>define ERR_DIECLEANLY    -2
  449.  
  450. @Outline3@<:#240,9360>define FILE_ALREADYOPEN    1
  451.  
  452. @Outline3@<:#240,9360>define FILE_NOTOPEN        -1
  453.  
  454. @Outline3@<:#240,9360>define salesmsgsmm    lotuspal.smm!salesmsg
  455.  
  456. @Outline3@<:#240,9360>define helpfile        "HELPPACK.HLP"
  457.  
  458. @Outline3@<:#240,9360>define helpnum    110
  459.  
  460. @Outline3@<:#240,9360>define HELP_CONTEXT    0x0001
  461.  
  462. @Outline3@<:#240,9360>define VK_F1            112
  463.  
  464. @Outline2@<:#240,9360>'private functions
  465.  
  466. @Outline3@<:#240,9360>declare box2(hdlg, id, val)
  467.  
  468. @Outline3@<:#240,9360>declare done()
  469.  
  470. @Outline3@<:#240,9360>declare onmenu(menu, item, casc)
  471.  
  472. @Outline3@<:#240,9360>declare freeglobals()
  473.  
  474. @Outline3@<:#240,9360>declare GetChildHandle(parentclass, childclass);
  475.  
  476. @Outline3@<:#240,9360>declare h_LoadLotusApp(Name, Module);
  477.  
  478. @Outline3@<:#240,9360>declare h_RunningLotusApp(Name, Module);
  479.  
  480. @Outline3@<:#240,9360>declare hideami(rect)
  481.  
  482. @Outline3@<:#240,9360>declare insertdata(hdlg, id, val)
  483.  
  484. @Outline3@<:#240,9360>define IsOKToRun(menuname)    GetInfo(217, 24, %1);
  485.  
  486. @Outline3@<:#240,9360>define MsgBox(msgtext)    Message(%1, myappname)
  487.  
  488. @Outline3@<:#240,9360>declare modframe()
  489.  
  490. @Outline3@<:#240,9360>declare newnow()
  491.  
  492. @Outline3@<:#240,9360>declare openfile()
  493.  
  494. @Outline3@<:#240,9360>declare setpagelayout()
  495.  
  496. @Outline3@<:#240,9360>declare showami(rect)
  497.  
  498. @Outline3@<:#240,9360>declare winproc(hdlg, id, val)
  499.  
  500. @Outline3@<:#240,9360>declare box2(hdlg, id, val)
  501.  
  502. @Outline3@<:#480,9360>declare MyPostMessage(hwnd, msg, wparam, lparam)    DllCall("User,PostMessage,HHHHJ",%1,%2,%3,%4)
  503.  
  504. @Outline2@<:#240,9360>'api call defines
  505.  
  506. @Outline3@<:#240,9360>Define EnableWindow() DllCall("user,EnableWindow,HHH", %1, %2)
  507.  
  508. @Outline3@<:#240,9360>Define FindWindow() DllCall("user,FindWindow,HCC", %1, %2)
  509.  
  510. @Outline3@<:#240,9360>Define GetClassName(hwnd, name, len) dllcall("user,GetClassName,HHCH", %1, %2, %3)
  511.  
  512. @Outline3@<:#240,9360>Define GetActiveWindow() DllCall("user,GetActiveWindow,H")
  513.  
  514. @Outline3@<:#240,9360>Define Getfocus() DllCall("user,GetFocus,H")
  515.  
  516. @Outline3@<:#240,9360>Define GetModuleHandle() DllCall("kernel,GetModuleHandle,HC", %1)
  517.  
  518. @Outline3@<:#240,9360>Define GetWindow(hwnd, cmd) dllcall("user,GetWindow,HHH", %1, %2)
  519.  
  520. @Outline3@<:#240,9360>DEFINE GetWindowrect()    DllCall("user,GetWindowRect,HHN",%1,%2)
  521.  
  522. @Outline3@<:#240,9360>define IsIconic(hWnd) DllCall("user,IsIconic,HH", %1)
  523.  
  524. @Outline3@<:#240,9360>Define MoveWindow() DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)
  525.  
  526. @Outline3@<:#240,9360>Define PostMessage() DllCall("User,PostMessage,HHHHJ",%1,%2,%3,%4)
  527.  
  528. @Outline3@<:#480,9360>define PeekMessage(lpmsg, hwnd, uFilterFirst, uFilterLast, fuRemove)    DllCall("User,PostMessage,ACHHHH",%1,%2,%3,%4, %5)
  529.  
  530. @Outline3@<:#240,9360>Define SendMessage(hwnd, message, wparam, lparao) Dllcall("user,SendMessage,JHHHJ", %1, %2, %3, %4)
  531.  
  532. @Outline3@<:#480,9360>Define SendMessageC(hwnd, message, wparam, lparao) Dllcall("user,SendMessage,HHHHC", %1, %2, %3, %4)
  533.  
  534. @Outline3@<:#240,9360>Define SetFocus() DllCall("user,SetFocus,HH",%1)
  535.  
  536. @Outline3@<:#240,9360>Define ShowWindow(hWnd, stuff) DllCall("user,ShowWindow,HHH", %1, %2)
  537.  
  538. @Outline3@<:#480,9360>define SetWindowPos(hwnd, hwndinsertafter, x, y, cx, cy, wflags) DllCall("user,SetWindowPos,HHHHHHHI", %1, %2, %3, %4, %5, %6, %7)
  539.  
  540. @Outline3@<:#240,9360>define SetCursor(hwnd)        DllCall("user,SetCursor,HH",%1)
  541.  
  542. @Outline3@<:#240,9360>define LoadCursor(hwnd, lpcursor)        DllCall("user,LoadCursor,HHC",%1, %2)
  543.  
  544. @Outline3@<:#240,9360>define    GetMenu(HWND)    DllCall("user,GetMenu,HH", %1)
  545.  
  546. @Outline3@<:#480,9360>define    GetMenuString(HMENU, WORD, LPSTR, int, WORD)    DllCall("user,GetMenuString,HHHFHH", %1, %2, %3, %4, %5)
  547.  
  548. @Outline3@<:#240,9360>define    GetSubMenu(HMENU, int)    DllCall("user,GetSubMenu,HHH", %1, %2)
  549.  
  550. @Outline3@<:#240,9360>define    GetMenuItemID(HMENU, int)    DllCall("user,GetMenuItemID,LHH", %1, %2)
  551.  
  552. @Outline3@<:#240,9360>define    GetMenuItemCount(HMENU)    DllCall("user,GetMenuItemCount,HH", %1)
  553.  
  554. @Outline3@<:#240,9360>
  555.  
  556. @Outline3@<:#240,9360>define WinHelp(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  557.  
  558. @Outline2@<:#240,9360>'menu pick defines
  559.  
  560. @Outline3@<:#240,9360>define FLW_COPY        142
  561.  
  562. @Outline3@<:#240,9360>define FLW_CURVEDTEXT    307
  563.  
  564. @Outline3@<:#240,9360>define FLW_CURRENTPAGE    228
  565.  
  566. @Outline3@<:#240,9360>define FLW_EDITCLEAR    145
  567.  
  568. @Outline3@<:#240,9360>define FLW_INBW        269
  569.  
  570. @Outline3@<:#240,9360>define FLW_INCOLOR        270
  571.  
  572. @Outline3@<:#240,9360>define FLW_NEW        61
  573.  
  574. @Outline3@<:#240,9360>define FLW_NEWPAGE    241
  575.  
  576. @Outline3@<:#240,9360>define FLW_ORGCHART    5202
  577.  
  578. @Outline3@<:#240,9360>define FLW_OUTLINER    230
  579.  
  580. @Outline3@<:#240,9360>define FLW_PAGESORTER    229
  581.  
  582. @Outline3@<:#240,9360>define FLW_PASTE        144
  583.  
  584. @Outline3@<:#240,9360>define FLW_REMOVEPAGE    242
  585.  
  586. @Outline3@<:#240,9360>define FLW_SCREENSHOWRUN    481
  587.  
  588. @Outline3@<:#240,9360>define FLW_SELECTNONE    166
  589.  
  590. @Outline3@<:#240,9360>define FLW_SELECTALL    165
  591.  
  592. @Outline3@<:#240,9360>define FLW_SPEAKERNOTES    253
  593.  
  594. @Outline2@<:#240,9360>'api defines
  595.  
  596. @Outline3@<:#240,9360>Define GW_CHILD        5
  597.  
  598. @Outline3@<:#240,9360>Define GW_HWNDNEXT    2
  599.  
  600. @Outline3@<:#240,9360>define PM_NOREMOVE    0x0000
  601.  
  602. @Outline3@<:#240,9360>Define WM_SETREDRAW            0x000B
  603.  
  604. @Outline3@<:#240,9360>define NO_DUPS    0
  605.  
  606. @Outline3@<:#240,9360>define SWP_NOMOVE        0x0002
  607.  
  608. @Outline3@<:#240,9360>define WM_COMMAND    0x0111
  609.  
  610. @Outline3@<:#240,9360>define WM_GETTEXT           0x000D
  611.  
  612. @Outline3@<:#240,9360>define MF_BYPOSITION    0x0400
  613.  
  614. @Function@<:#284,9360>function FLWbits()
  615.  
  616. @Outline2@<:#240,9360>onerror endit
  617.  
  618. @Outline2@<:#240,9360>oncancel endit
  619.  
  620. @Outline2@<:#240,9360>if GetOpenFileCount()  << 1
  621.  
  622. @Outline2@<:#240,9360>    exit function
  623.  
  624. @Outline2@<:#240,9360>endif
  625.  
  626. @Outline2@<:#240,9360>ignorekeyboard(2)
  627.  
  628. @Outline2@<:#240,9360>dim rect(4)
  629.  
  630. @Outline2@<:#240,9360>'hFLW = h_LoadLotusApp(appname, appmodule);
  631.  
  632. @Outline2@<:#240,9360>hFLW = h_RunningLotusApp(appname, appmodule);
  633.  
  634. @Outline2@<:#240,9360>if hFLW = 0
  635.  
  636. @Outline2@<:#240,9360>    return 0
  637.  
  638. @Outline2@<:#240,9360>endif
  639.  
  640. @Outline2@<:#240,9360>rmac=GetRunningMacroFile$()
  641.  
  642. @Outline2@<:#240,9360>'get handles to everything
  643.  
  644. @Outline3@<:#240,9360>hwndpro = findwindow("amiprownda", 0)
  645.  
  646. @Outline3@<:#240,9360>'hwndFLW = findwindow("flwapp", 0)
  647.  
  648. @Outline3@<:#240,9360>if isiconic(hFLW)
  649.  
  650. @Outline3@<:#240,9360>    appmaximize(apptitle)
  651.  
  652. @Outline3@<:#240,9360>endif
  653.  
  654. @Outline2@<:#240,9360>'do global var stuff
  655.  
  656. @Outline3@<:#240,9360>allocglobalvar("bits", 1)
  657.  
  658. @Outline3@<:#240,9360>setglobalvar("bits", 0)
  659.  
  660. @Outline3@<:#240,9360>allocglobalvar("framecount", 1)
  661.  
  662. @Outline3@<:#240,9360>setglobalvar("framecount", 0)
  663.  
  664. @Outline2@<:#240,9360>activateapp(apptitle)
  665.  
  666. @Outline2@<:#240,9360>appmaximize(apptitle)
  667.  
  668. @Outline2@<+@><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_INBW, "")
  669.  
  670. @Outline2@<+@><:#240,9360>pause(002)
  671.  
  672. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_PAGESORTER, "")
  673.  
  674. @Outline2@<+@><:#240,9360>pause(002)
  675.  
  676. @Outline2@<:#240,9360>showwindow(hflw, 5)
  677.  
  678. @Outline2@<:#240,9360>showwindow(hwndpro, 0)
  679.  
  680. @Outline2@<:#240,9360>type ("<[>esc]<[>esc]<[>esc]")
  681.  
  682. @Outline2@<:#240,9360>newnow()
  683.  
  684. @Outline2@<:#240,9360>rmac = getrunningmacrofile$()
  685.  
  686. @Outline2@<:#240,9360>setdlgcallback(0, "{rmac}!initdlg")
  687.  
  688. @Outline2@<:#240,9360>setdlgcallback(71, "{rmac}!insertdata")
  689.  
  690. @Outline2@<:#240,9360>dialogbox(".", "box1")
  691.  
  692. @Outline2@<+@><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_INCOLOR, "")
  693.  
  694. @Outline2@<:#240,9360>DlgKeyInterrupt(VK_F1, "{rmac}!helper")
  695.  
  696. @Outline2@<:#240,9360>box = dialogbox(".", "box2")
  697.  
  698. @Outline2@<:#240,9360>if box = 1
  699.  
  700. @Outline2@<:#240,9360>    showwindow(hwndpro, 5)
  701.  
  702. @Outline2@<:#240,9360>else
  703.  
  704. @Outline2@<:#240,9360>    showwindow(hwndpro, 5)
  705.  
  706. @Outline2@<:#240,9360>    activateapp(apptitle)
  707.  
  708. @Outline2@<:#240,9360>endif
  709.  
  710. @Outline2@<:#240,9360>freeglobals()
  711.  
  712. @Outline2@<:#240,9360>return 1
  713.  
  714. @Outline2@<:#240,9360>endit:
  715.  
  716. @Outline2@<:#240,9360>showwindow(hwndpro, 5)
  717.  
  718. @Outline2@<:#240,9360>activateapp(apptitle)
  719.  
  720. @Outline2@<:#240,9360>end function
  721.  
  722. @Function@<:#284,9360>function freeglobals()
  723.  
  724. @Outline2@<:#240,9360>freeglobalvar("framecount")
  725.  
  726. @Outline2@<:#240,9360>freeglobalvar("bits")
  727.  
  728. @Outline2@<:#240,9360>end function
  729.  
  730. @Function@<:#284,9360>function initdlg(hdlg, id, value)
  731.  
  732. @Outline2@<:#240,9360>dim rect(4)
  733.  
  734. @Outline2@<:#240,9360>GetWindowRect(hdlg, &rect)
  735.  
  736. @Outline2@<:#240,9360>x = rect(1)
  737.  
  738. @Outline2@<:#240,9360>y = rect(2)
  739.  
  740. @Outline2@<:#240,9360>cx = rect(3) - x
  741.  
  742. @Outline2@<:#240,9360>cy = rect(4) - y
  743.  
  744. @Outline2@<:#240,9360>setwindowpos(hdlg, -1, x, y, cx, cy, 0)
  745.  
  746. @Outline2@<:#240,9360>end function
  747.  
  748. @Function@<:#284,9360>function insertdata(hdlg, id, val)
  749.  
  750. @Outline2@<:#240,9360>activateapp(apptitle)
  751.  
  752. @Outline2@<:#240,9360>hwndflw = findwindow(appclass, 0)
  753.  
  754. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hwndFLW, WM_COMMAND, FLW_PAGESORTER, "")
  755.  
  756. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>pause(002)
  757.  
  758. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>result=AppSendMessage(hwndflw, WM_COMMAND, FLW_COPY, "")
  759.  
  760. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>pause(002)
  761.  
  762. @Outline2@<:#240,9360>activateapp("")
  763.  
  764. @Outline2@<:#240,9360>if IsOKToRun(pastespecial) != 1
  765.  
  766. @Outline2@<:#240,9360>    msgbox(err_selectonlyoneslide)
  767.  
  768. @Outline2@<:#240,9360>    return 0
  769.  
  770. @Outline2@<:#240,9360>endif
  771.  
  772. @Outline2@<:#240,9360>if getmode() <<<;> 1
  773.  
  774. @Outline2@<:#240,9360>    layoutmode()
  775.  
  776. @Outline2@<:#240,9360>    if getmode() <<<;> 1
  777.  
  778. @Outline2@<:#240,9360>        return 0
  779.  
  780. @Outline2@<:#240,9360>    endif
  781.  
  782. @Outline2@<:#240,9360>endif
  783.  
  784. @Outline2@<:#240,9360>count = getglobalvar$("framecount")
  785.  
  786. @Outline2@<:#240,9360>count = count + 1
  787.  
  788. @Outline2@<:#240,9360>if count = 6
  789.  
  790. @Outline2@<:#240,9360>    PageBreak(1  )
  791.  
  792. @Outline2@<:#240,9360>    count = 1
  793.  
  794. @Outline2@<:#240,9360>endif
  795.  
  796. @Outline2@<+@><:#240,9360>'message("here")
  797.  
  798. @Outline2@<:#240,9360>setglobalvar("framecount", count)
  799.  
  800. @Outline2@<:#240,9360>'paste()
  801.  
  802. @Outline2@<:#240,9360>If IsOKToRun(PasteSpecial) != 1
  803.  
  804. @Outline2@<:#240,9360>    msgbox(err_maybenotinslidesorter)
  805.  
  806. @Outline2@<:#240,9360>    return 0
  807.  
  808. @Outline2@<:#240,9360>Endif
  809.  
  810. @Outline2@<:#240,9360>pastespecial(pasteformat)
  811.  
  812. @Outline2@<:#240,9360>modframe()
  813.  
  814. @Outline2@<:#240,9360>type("<[>esc]")
  815.  
  816. @Outline2@<:#240,9360>endit:
  817.  
  818. @Outline2@<:#240,9360>activateapp(apptitle)
  819.  
  820. @Outline2@<:#240,9360>END FUNCTION
  821.  
  822. @Function@<:#284,9360>function h_LoadLotusApp(name, module)
  823.  
  824. @Outline2@<:#240,9360>onerror endit
  825.  
  826. @Outline2@<:#240,9360>oncancel endit
  827.  
  828. @Outline2@<:#240,9360>hwnd =  findwindow(appclass, 0)
  829.  
  830. @Outline2@<:#240,9360>if hwnd = 0
  831.  
  832. @Outline2@<:#240,9360>    app = GetProfileString$(LotusAppSection, name, LotusIniFile)
  833.  
  834. @Outline2@<:#240,9360>    if app <<<;> ""
  835.  
  836. @Outline2@<:#240,9360>        offset1stspace=strchr(1, app, " ")
  837.  
  838. @Outline2@<:#240,9360>        app = strfield$(app, 1, " ")
  839.  
  840. @Outline2@<:#240,9360>        lotusappname=MID$(app, offset1stspace, len(app))    'DEZ
  841.  
  842. @Outline2@<:#240,9360>        'lotusappname = strfield$(app, 2, " ")
  843.  
  844. @Outline2@<:#240,9360>        if exec(app, "/q") << 32
  845.  
  846. @Outline2@<:#240,9360>            'MsgBox(err_cantlaunchapp)
  847.  
  848. @Outline2@<:#240,9360>            call salesmsgsmm(3)
  849.  
  850. @Outline2@<:#240,9360>            return 0
  851.  
  852. @Outline2@<:#240,9360>        endif
  853.  
  854. @Outline2@<:#240,9360>        pause(004)
  855.  
  856. @Outline2@<:#240,9360>    endif
  857.  
  858. @Outline2@<:#240,9360>    hwnd = findwindow(appclass, 0)
  859.  
  860. @Outline2@<:#240,9360>    if hwnd = 0
  861.  
  862. @Outline2@<:#240,9360>        call salesmsgsmm(3)
  863.  
  864. @Outline2@<:#240,9360>    endif
  865.  
  866. @Outline2@<:#240,9360>    return hwnd
  867.  
  868. @Outline2@<:#240,9360>endif
  869.  
  870. @Outline2@<:#240,9360>endit:
  871.  
  872. @Outline2@<:#240,9360>return hwnd
  873.  
  874. @Outline2@<:#240,9360>end function
  875.  
  876. @Function@<:I0,360,360,360><:S+-1><:#284,9360>function h_RunningLotusApp(name, module)
  877.  
  878. @Outline2@<:#240,9360>onerror endit
  879.  
  880. @Outline2@<:#240,9360>oncancel endit
  881.  
  882. @Outline2@<:#240,9360>hwnd =  findwindow(appclass, 0)
  883.  
  884. @Outline2@<:#240,9360>if hwnd = 0
  885.  
  886. @Outline2@<:#240,9360>    MsgBox(err_appmustberunning)
  887.  
  888. @Outline2@<:#240,9360>    app = GetProfileString$(LotusAppSection, name, LotusIniFile)
  889.  
  890. @Outline2@<:#240,9360>    if app = ""
  891.  
  892. @Outline2@<:#240,9360>        call salesmsgsmm(3)
  893.  
  894. @Outline2@<:#240,9360>    endif
  895.  
  896. @Outline2@<:#240,9360>    return 0
  897.  
  898. @Outline2@<:#240,9360>endif
  899.  
  900. @Outline2@<:#240,9360>isitopen=onmenu(FLW_WINDOWMENU, FLW_TILEITEM, 0)
  901.  
  902. @Outline2@<:#240,9360>if isitopen != FILE_ALREADYOPEN
  903.  
  904. @Outline2@<:#240,9360>    MsgBox(err_nofilesopen)
  905.  
  906. @Outline2@<:#240,9360>    return 0
  907.  
  908. @Outline2@<:#240,9360>endif
  909.  
  910. @Outline2@<:#240,9360>endit:
  911.  
  912. @Outline2@<:#240,9360>return hwnd
  913.  
  914. @Outline2@<:#240,9360>end function
  915.  
  916. @Function@<:I0,360,360,360><:S+-1><:#284,9360>function helper()
  917.  
  918. @Outline2@<:#240,9360>prohWnd = FindWindow("AmiProWndA", 0)
  919.  
  920. @Outline2@<:#240,9360>fullhelpfile = strcat$(GetAmiDirectory$(), helpfile)
  921.  
  922. @Outline2@<:#240,9360>WinHelp (prohWnd, fullhelpfile, HELP_CONTEXT, helpnum)    
  923.  
  924. @Outline2@<:#240,9360>end function
  925.  
  926. @Function@<:#284,9360>DIALOG    box1
  927.  
  928. <:#240,9360>-2134376448    9    170    210    185    38    ""    ""    "Collect & Copy"
  929.  
  930. <:#240,9360>FONT    8    "Helv"
  931.  
  932. <:#240,9360>118    3    63    14    71    1342373889    "button"    "&Copy to Ami Pro"    0 
  933.  
  934. <:#240,9360>118    19    63    14    2    1342373888    "button"    "Done"    0 
  935.  
  936. <:#240,9360>10    2    87    10    1000    1342177280    "static"    "Select the slide you want"    0 
  937.  
  938. <:#240,9360>10    9    95    10    1001    1342177280    "static"    "to include in your document."    0 
  939.  
  940. <:#240,9360>10    18    81    10    1002    1342177280    "static"    "Choose Copy to Ami Pro."    0 
  941.  
  942. <:#240,9360>10    27    103    10    1003    1342177280    "static"    "Repeat these steps if desired."    0 
  943.  
  944. <:#240,9360>2    2    6    10    1004    1342177280    "static"    "1."    0 
  945.  
  946. <:#240,9360>2    18    6    10    1005    1342177280    "static"    "2."    0 
  947.  
  948. <:#240,9360>2    27    6    10    1006    1342177280    "static"    "3."    0 
  949.  
  950. <:#240,9360>END DIALOG
  951.  
  952. <:#240,9360>
  953.  
  954. <:#240,9360>
  955.  
  956. @Function@<:#284,9360>DIALOG    box2
  957.  
  958. <:#240,9360>-2134376448    9    90    50    200    67    ""    "AmiDialog"    "Collect & Copy"
  959.  
  960. <:#240,9360>FONT    8    "Helv"
  961.  
  962. <:#240,9360>126    3    68    14    1    1342373889    "button"    "&Switch to Ami Pro"    0 
  963.  
  964. <:#240,9360>126    19    68    14    2    1342373888    "button"    "Done"    0 
  965.  
  966. <:#480,9360>3    2    117    10    1000    1342177280    "static"    "You have selected some data to be"    0 
  967.  
  968. <:#480,9360>3    10    117    10    1007    1342177280    "static"    "included in an Ami Pro document."    0 
  969.  
  970. <:#240,9360>3    18    117    10    1008    1342177280    "static"    ""    0 
  971.  
  972. <:#240,9360>3    26    117    10    1009    1342177280    "static"    ""    0 
  973.  
  974. <:#480,9360>3    38    117    10    1010    1342177280    "static"    "You may now continue to work in"    0 
  975.  
  976. <:#480,9360>3    46    117    10    1011    1342177280    "static"    "Freelance, or you may switch to Ami Pro"    0 
  977.  
  978. <:#480,9360>3    54    117    10    1012    1342177280    "static"    "to arrange or format your document."    0 
  979.  
  980. <:#240,9360>END DIALOG
  981.  
  982. <:#240,9360>
  983.  
  984. @Function@<:#284,9360>FUNCTION newnow()
  985.  
  986. @Outline3@<:#240,9360>'defstyle=getprofilestring$("AmiPro", "defstyle", "AMIPRO.INI")
  987.  
  988. <:#240,9360>'New(defstyle  1 1024  )
  989.  
  990. <:#240,9360>fullpageview()
  991.  
  992. <:#240,9360>setpagelayout()
  993.  
  994. <:#240,9360>END FUNCTION
  995.  
  996. <:#240,9360>
  997.  
  998. <:#240,9360>
  999.  
  1000. @Function@<:#284,9360>FUNCTION modframe()
  1001.  
  1002. <:#240,9360>count = getglobalvar$("framecount")
  1003.  
  1004. <:#240,9360>defstr width, length, left, top, leftx, leftmarg, topmarg, rightmarg, bottommarg, units;
  1005.  
  1006. <:#240,9360>getcurframeborders(&width, &length, &top, &leftx, &leftmarg, &topmarg, &rightmarg, &bottommarg, &units)
  1007.  
  1008. <:#240,9360>top = count * 1.60 * 1440
  1009.  
  1010. <:#240,9360>GraphicsScaling(2 100 1 "1.80"  "1.34"  0  )
  1011.  
  1012. <:#240,9360>FrameModInit( )
  1013.  
  1014. <:#240,9360>FrameModLines(1 2 1 12763842 16777215 12763842 0 0 57 57  )
  1015.  
  1016. <:#240,9360>FrameModType(536936640 0 ""   )
  1017.  
  1018. <:#240,9360>FrameModBorders(2664 2001 4608 1440 0 0 0 0 1  )
  1019.  
  1020. <:#240,9360>FrameModBorders(2666, 2000, top, leftx, leftmarg, topmarg, rightmarg, bottommarg, units)
  1021.  
  1022. <:#240,9360>FrameModFinish( )
  1023.  
  1024. <:#240,9360>END FUNCTION
  1025.  
  1026. @Function@<:#284,9360>function setpagelayout()
  1027.  
  1028. @Outline2@<:#240,9360>ModLayoutInit(512  )
  1029.  
  1030. @Outline2@<:#480,9360>'ModLayoutRightPage(1440 1440 1440 1440 1 0 1 1440 10465 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640  )
  1031.  
  1032. @Outline2@<:#240,9360>'ModLayoutRightLines(0 1 0 1 2  )
  1033.  
  1034. @Outline2@<:#240,9360>country = GetProfileString$("intl", "sCountry")
  1035.  
  1036. @Outline2@<:#240,9360>if country <<<;> "United States" and country <<<;> "Canada"
  1037.  
  1038. @Outline2@<:#240,9360>    ModLayoutPageSize(16833 11908 1 4  ) ' A4
  1039.  
  1040. @Outline2@<:#240,9360>else
  1041.  
  1042. @Outline2@<:#240,9360>    ModLayoutPageSize(15840 12240 1 1  ) ' Letter
  1043.  
  1044. @Outline2@<:#240,9360>endif
  1045.  
  1046. @Outline2@<:#240,9360>'ModLayoutRightHeader(1440 792 1440 72 1 0 1 1440 10465 2 2 4680 3 9360  )
  1047.  
  1048. @Outline2@<:#240,9360>'ModLayoutRightFooter(1440 72 1440 792 1 0 1 1440 10465 2 2 4680 3 9360  )
  1049.  
  1050. @Outline2@<:#240,9360>ModLayoutFinish( )
  1051.  
  1052. @Outline2@<:#240,9360>END FUNCTION
  1053.  
  1054. @Function@<:#284,9360>function onmenu(menu, item, casc)
  1055.  
  1056. @Outline2@<:#240,9360>isthistheone=0
  1057.  
  1058. @Outline2@<:#240,9360>defstr menuitemnum;
  1059.  
  1060. @Outline2@<:#240,9360>defstr cascmenuitemnum;
  1061.  
  1062. @Outline2@<:#240,9360>hwnd=findwindow(appclass, 0)
  1063.  
  1064. @Outline2@<:#240,9360>hmenubar=GetMenu(hwnd)
  1065.  
  1066. @Outline2@<:#240,9360>'get handle to menu
  1067.  
  1068. @Outline3@<:#240,9360>nummenus=getmenuitemcount(hmenubar)
  1069.  
  1070. @Outline3@<:#240,9360>if nummenus << 1
  1071.  
  1072. @Outline3@<:#240,9360>    msgbox(err_cantfindmenubar)
  1073.  
  1074. @Outline3@<:#240,9360>    goto out
  1075.  
  1076. @Outline3@<:#240,9360>endif
  1077.  
  1078. @Outline3@<:#240,9360>for i = 0 to nummenus - 1
  1079.  
  1080. @Outline3@<:#240,9360>    GetMenuString(hmenubar, i, &isthistheone,  25, MF_BYPOSITION)
  1081.  
  1082. @Outline3@<:#240,9360>    menulen=len(menu)
  1083.  
  1084. @Outline3@<:#240,9360>    if ucase$(left$(isthistheone, menulen)) = ucase$(left$(menu, menulen))
  1085.  
  1086. @Outline3@<:#240,9360>        menunum=i
  1087.  
  1088. @Outline3@<:#240,9360>    endif
  1089.  
  1090. @Outline3@<:#240,9360>next
  1091.  
  1092. @Outline3@<:#240,9360>hmenu=getsubmenu(hmenubar, menunum)
  1093.  
  1094. @Outline2@<:#240,9360>'get position or handle of item
  1095.  
  1096. @Outline3@<:#240,9360>'get position of item
  1097.  
  1098. @Outline4@<:#240,9360>    extra = 0
  1099.  
  1100. @Outline4@<:#240,9360>    menuitemnum = 0
  1101.  
  1102. @Outline4@<:#240,9360>    cascmenuitemnum = 0
  1103.  
  1104. @Outline4@<:#240,9360>    nummenuitems=getmenuitemcount(hmenu)
  1105.  
  1106. @Outline4@<:#240,9360>    if nummenuitems << 1
  1107.  
  1108. @Outline4@<:#240,9360>        msgbox(err_cantfindmenu)
  1109.  
  1110. @Outline4@<:#240,9360>        goto out
  1111.  
  1112. @Outline4@<:#240,9360>    endif
  1113.  
  1114. @Outline4@<:#240,9360>    for i= 0 to (nummenuitems - 1)
  1115.  
  1116. @Outline4@<:#240,9360>        GetMenuString(hmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1117.  
  1118. @Outline4@<:#240,9360>        itemlen=len(item)
  1119.  
  1120. @Outline4@<:#240,9360>        length=len(isthistheone)
  1121.  
  1122. @Outline4@<:#240,9360>        if length << 1 and menuitemnum = 0
  1123.  
  1124. @Outline4@<:#240,9360>            extra=extra + 1
  1125.  
  1126. @Outline4@<:#240,9360>        endif
  1127.  
  1128. @Outline4@<:#240,9360>        text=ucase$(isthistheone)
  1129.  
  1130. @Outline4@<:#240,9360>        pattern=ucase$(item)
  1131.  
  1132. @Outline4@<:#240,9360>        'if ucase$(left$(item, itemlen)) = ucase$(left$(isthistheone, itemlen))
  1133.  
  1134. @Outline4@<:#240,9360>        if Instr(1, Text, Pattern) != 0
  1135.  
  1136. @Outline4@<:#240,9360>            return FILE_ALREADYOPEN
  1137.  
  1138. @Outline4@<:#240,9360>            menuitemnum=i
  1139.  
  1140. @Outline4@<:#240,9360>            break
  1141.  
  1142. @Outline4@<:#240,9360>        endif
  1143.  
  1144. @Outline4@<:#240,9360>    next
  1145.  
  1146. @Outline4@<:#240,9360>    'couldn't find it
  1147.  
  1148. @Outline4@<:#240,9360>    return FILE_NOTOPEN
  1149.  
  1150. @Outline4@<:#240,9360>    menuitemnum=menuitemnum - extra
  1151.  
  1152. @Outline3@<:#240,9360>'get handle to casc menu
  1153.  
  1154. @Outline4@<:#240,9360>numcascmenus=getmenuitemcount(hmenu)
  1155.  
  1156. @Outline4@<:#240,9360>if numcascmenus << 1
  1157.  
  1158. @Outline4@<:#240,9360>    goto out
  1159.  
  1160. @Outline4@<:#240,9360>endif
  1161.  
  1162. @Outline4@<:#240,9360>for i = 0 to numcascmenus - 1
  1163.  
  1164. @Outline4@<:#240,9360>    GetMenuString(hmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1165.  
  1166. @Outline4@<:#240,9360>    cascmenulen=len(item)
  1167.  
  1168. @Outline4@<:#240,9360>    if ucase$(left$(isthistheone, cascmenulen)) = ucase$(left$(item, cascmenulen))
  1169.  
  1170. @Outline4@<:#240,9360>        cascmenunum=i
  1171.  
  1172. @Outline4@<:#240,9360>    endif
  1173.  
  1174. @Outline4@<:#240,9360>next
  1175.  
  1176. @Outline4@<:#240,9360>hcascmenu=getsubmenu(hmenu, cascmenunum)
  1177.  
  1178. @Outline3@<:#240,9360>'get position of casc item
  1179.  
  1180. @Outline4@<:#240,9360>    extra = 0
  1181.  
  1182. @Outline4@<:#240,9360>    numcascmenuitems=getmenuitemcount(hcascmenu)
  1183.  
  1184. @Outline4@<:#240,9360>    if numcascmenuitems << 1
  1185.  
  1186. @Outline4@<:#240,9360>        goto out
  1187.  
  1188. @Outline4@<:#240,9360>    endif
  1189.  
  1190. @Outline4@<:#240,9360>    for i= 0 to (numcascmenuitems - 1)
  1191.  
  1192. @Outline4@<:#240,9360>        GetMenuString(hcascmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1193.  
  1194. @Outline4@<:#240,9360>        cascitemlen=len(casc)
  1195.  
  1196. @Outline4@<:#240,9360>        length=len(isthistheone)
  1197.  
  1198. @Outline4@<:#240,9360>        if length << 1 and cascmenuitemnum = 0
  1199.  
  1200. @Outline4@<:#240,9360>            extra=extra + 1
  1201.  
  1202. @Outline4@<:#240,9360>        endif
  1203.  
  1204. @Outline4@<:#240,9360>        if ucase$(left$(casc, cascitemlen)) = ucase$(left$(isthistheone, cascitemlen))
  1205.  
  1206. @Outline4@<:#240,9360>            cascmenuitemnum=i
  1207.  
  1208. @Outline4@<:#240,9360>            break
  1209.  
  1210. @Outline4@<:#240,9360>        endif
  1211.  
  1212. @Outline4@<:#240,9360>    next
  1213.  
  1214. @Outline4@<:#240,9360>    cascmenuitemnum=cascmenuitemnum - extra
  1215.  
  1216. @Outline2@<:#240,9360>'return numbers
  1217.  
  1218. @Outline3@<:#240,9360>out:
  1219.  
  1220. @Outline3@<:#240,9360>getdist=strcat$(menuitemnum, ", ", cascmenuitemnum, ",",  casc)
  1221.  
  1222. @Outline3@<:#240,9360>hourglass(0)
  1223.  
  1224. @Outline2@<:#240,9360>end function<:>
  1225.  
  1226. >
  1227.  
  1228. [Embedded]
  1229. 00026575
  1230. >
  1231. [macsum] 13
  1232. FLWbits 0 0 6 104
  1233. freeglobals 1127 0 1 158
  1234. initdlg 1189 3 6 162
  1235. insertdata 1424 3 4 171
  1236. h_LoadLotusApp 2176 2 5 208
  1237. h_RunningLotusApp 2724 2 4 235
  1238. helper 3254 0 3 255
  1239. box1 3421 0 -1 260
  1240. box2 4020 0 -1 275
  1241. newnow 4692 0 1 289
  1242. modframe 4742 0 12 297
  1243. setpagelayout 5097 0 2 310
  1244. onmenu 5317 3 24 324
  1245. [macse]
  1246. 14 FLWbits
  1247. 20 00001051
  1248. 19 00001051
  1249. 0 1050
  1250. 13
  1251. 5 1
  1252. 18 5
  1253. 11 00000086
  1254. 6 0
  1255. 15
  1256. 9
  1257. 0 32 2
  1258. 5 4
  1259. 21 1 [X]
  1260. 16 h_RunningLotusApp "FLW" "FLWMAIN"
  1261. 13
  1262. 8 2
  1263. 6 2
  1264. 5 0
  1265. 18 0
  1266. 11 00000197
  1267. 5 0
  1268. 15
  1269. 9
  1270. 0 802
  1271. 13
  1272. 8 3
  1273. 0 284 "user,FindWindow,HCC" "amiprownda" 0
  1274. 13
  1275. 8 4
  1276. 0 284 "user,IsIconic,HH" "{2}"
  1277. 13
  1278. 11 00000344
  1279. 0 1029 "Freelance Graphics"
  1280. 0 271 "bits" 1
  1281. 0 264 "bits" 0
  1282. 0 271 "framecount" 1
  1283. 0 264 "framecount" 0
  1284. 0 38 "Freelance Graphics"
  1285. 0 1029 "Freelance Graphics"
  1286. 0 284 "User,PostMessage,HHHHJ" "{2}" 273 269 ""
  1287. 0 274 002
  1288. 0 284 "User,PostMessage,HHHHJ" "{2}" 273 229 ""
  1289. 0 274 002
  1290. 0 284 "user,ShowWindow,HHH" "{2}" 5
  1291. 0 284 "user,ShowWindow,HHH" "{4}" 0
  1292. 0 6 "[27][27][27]"
  1293. 16 newnow
  1294. 0 802
  1295. 13
  1296. 8 3
  1297. 0 41 0 "{3}!initdlg"
  1298. 0 41 71 "{3}!insertdata"
  1299. 0 26 "." "box1"
  1300. 0 284 "User,PostMessage,HHHHJ" "{2}" 273 270 ""
  1301. 0 47 112 "{3}!helper"
  1302. 0 26 "." "box2"
  1303. 13
  1304. 8 5
  1305. 6 5
  1306. 5 1
  1307. 18 0
  1308. 11 00000959
  1309. 0 284 "user,ShowWindow,HHH" "{4}" 5
  1310. 10 00001023
  1311. 0 284 "user,ShowWindow,HHH" "{4}" 5
  1312. 0 38 "Freelance Graphics"
  1313. 16 freeglobals
  1314. 5 1
  1315. 15
  1316. 9
  1317. 0 284 "user,ShowWindow,HHH" "{4}" 5
  1318. 0 38 "Freelance Graphics"
  1319. 6 0
  1320. 15
  1321. 9
  1322. 14 freeglobals
  1323. 0 266 "framecount"
  1324. 0 266 "bits"
  1325. 6 0
  1326. 15
  1327. 9
  1328. 14 initdlg
  1329. 5 4
  1330. 21 4 [X]
  1331. 0 284 "user,GetWindowRect,HHN" "{0}" &4
  1332. 5 1
  1333. 22 4
  1334. 8 5
  1335. 5 2
  1336. 22 4
  1337. 8 6
  1338. 5 3
  1339. 22 4
  1340. 6 5
  1341. 3 1
  1342. 8 7
  1343. 5 4
  1344. 22 4
  1345. 6 6
  1346. 3 1
  1347. 8 8
  1348. 0 284 "user,SetWindowPos,HHHHHHHI" "{0}" -1 "{5}" "{6}" "{7}" "{8}" 0
  1349. 6 3
  1350. 15
  1351. 9
  1352. 14 insertdata
  1353. 0 38 "Freelance Graphics"
  1354. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1355. 13
  1356. 8 4
  1357. 0 284 "User,PostMessage,HHHHJ" "{4}" 273 229 ""
  1358. 0 274 002
  1359. 0 1036 "{4}" 273 142 ""
  1360. 13
  1361. 8 5
  1362. 0 274 002
  1363. 0 38 ""
  1364. 0 1313 217 24 588
  1365. 13
  1366. 5 1
  1367. 18 1
  1368. 11 00000326
  1369. 0 3 "Please select a single slide." "Ami Pro Collect & Copy"
  1370. 5 0
  1371. 15
  1372. 9
  1373. 0 29
  1374. 13
  1375. 5 1
  1376. 18 1
  1377. 11 00000415
  1378. 2 210 1
  1379. 0 29
  1380. 13
  1381. 5 1
  1382. 18 1
  1383. 11 00000415
  1384. 5 0
  1385. 15
  1386. 9
  1387. 0 265 "framecount"
  1388. 13
  1389. 8 6
  1390. 6 6
  1391. 5 1
  1392. 3 0
  1393. 8 6
  1394. 6 6
  1395. 5 6
  1396. 18 0
  1397. 11 00000514
  1398. 2 357 1 1
  1399. 5 1
  1400. 8 6
  1401. 0 264 "framecount" "{6}"
  1402. 0 1313 217 24 588
  1403. 13
  1404. 5 1
  1405. 18 1
  1406. 11 00000660
  1407. 0 3 "Cannot paste from this view." "Ami Pro Collect & Copy"
  1408. 5 0
  1409. 15
  1410. 9
  1411. 2 588 1 "Windows Metafile"
  1412. 16 modframe
  1413. 0 6 "[27]"
  1414. 0 38 "Freelance Graphics"
  1415. 6 3
  1416. 15
  1417. 9
  1418. 14 h_LoadLotusApp
  1419. 20 00000524
  1420. 19 00000524
  1421. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1422. 13
  1423. 8 3
  1424. 6 3
  1425. 5 0
  1426. 18 0
  1427. 11 00000524
  1428. 0 286 "Lotus Applications" "{0}" "lotus.ini"
  1429. 13
  1430. 8 4
  1431. 6 4
  1432. 7 ""
  1433. 18 1
  1434. 11 00000406
  1435. 0 13 1 "{4}" " "
  1436. 13
  1437. 8 5
  1438. 0 20 "{4}" 1 " "
  1439. 13
  1440. 8 4
  1441. 0 14 "{4}"
  1442. 13
  1443. 0 15 "{4}" "{5}" [X]
  1444. 13
  1445. 8 6
  1446. 0 22 "{4}" "/q"
  1447. 13
  1448. 5 32
  1449. 18 5
  1450. 11 00000395
  1451. 16 lotuspal.smm!salesmsg 3
  1452. 5 0
  1453. 15
  1454. 9
  1455. 0 274 004
  1456. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1457. 13
  1458. 8 3
  1459. 6 3
  1460. 5 0
  1461. 18 0
  1462. 11 00000512
  1463. 16 lotuspal.smm!salesmsg 3
  1464. 6 3
  1465. 15
  1466. 9
  1467. 6 3
  1468. 15
  1469. 9
  1470. 6 2
  1471. 15
  1472. 9
  1473. 14 h_RunningLotusApp
  1474. 20 00000506
  1475. 19 00000506
  1476. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1477. 13
  1478. 8 3
  1479. 6 3
  1480. 5 0
  1481. 18 0
  1482. 11 00000334
  1483. 0 3 "Freelance must be running to use Collect and Copy." "Ami Pro Collect & Copy"
  1484. 0 286 "Lotus Applications" "{0}" "lotus.ini"
  1485. 13
  1486. 8 4
  1487. 6 4
  1488. 7 ""
  1489. 18 0
  1490. 11 00000322
  1491. 16 lotuspal.smm!salesmsg 3
  1492. 5 0
  1493. 15
  1494. 9
  1495. 16 onmenu "&Window" "&Tile" 0
  1496. 13
  1497. 8 5
  1498. 6 5
  1499. 5 1
  1500. 18 1
  1501. 11 00000506
  1502. 0 3 "You must have a presentation open to use Collect and Copy." "Ami Pro Collect & Copy"
  1503. 5 0
  1504. 15
  1505. 9
  1506. 6 3
  1507. 15
  1508. 9
  1509. 6 2
  1510. 15
  1511. 9
  1512. 14 helper
  1513. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  1514. 13
  1515. 8 1
  1516. 0 798
  1517. 13
  1518. 0 16 [X] "HELPPACK.HLP"
  1519. 13
  1520. 8 2
  1521. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 110
  1522. 6 0
  1523. 15
  1524. 9
  1525. DIALOG box1
  1526. -2134376448 9 170 210 185 38 "" "" "Collect & Copy" 
  1527. FONT 8 "Helv" 
  1528. 118 3 63 14 71 1342373889 "button" "&Copy to Ami Pro" 0 
  1529. 118 19 63 14 2 1342373888 "button" "Done" 0 
  1530. 10 2 87 10 1000 1342177280 "static" "Select the slide you want" 0 
  1531. 10 9 95 10 1001 1342177280 "static" "to include in your document." 0 
  1532. 10 18 81 10 1002 1342177280 "static" "Choose Copy to Ami Pro." 0 
  1533. 10 27 103 10 1003 1342177280 "static" "Repeat these steps if desired." 0 
  1534. 2 2 6 10 1004 1342177280 "static" "1." 0 
  1535. 2 18 6 10 1005 1342177280 "static" "2." 0 
  1536. 2 27 6 10 1006 1342177280 "static" "3." 0 
  1537. DIALOG box2
  1538. -2134376448 9 90 50 200 67 "" "AmiDialog" "Collect & Copy" 
  1539. FONT 8 "Helv" 
  1540. 126 3 68 14 1 1342373889 "button" "&Switch to Ami Pro" 0 
  1541. 126 19 68 14 2 1342373888 "button" "Done" 0 
  1542. 3 2 117 10 1000 1342177280 "static" "You have selected some data to be" 0 
  1543. 3 10 117 10 1007 1342177280 "static" "included in an Ami Pro document." 0 
  1544. 3 18 117 10 1008 1342177280 "static" "" 0 
  1545. 3 26 117 10 1009 1342177280 "static" "" 0 
  1546. 3 38 117 10 1010 1342177280 "static" "You may now continue to work in" 0 
  1547. 3 46 117 10 1011 1342177280 "static" "Freelance, or you may switch to Ami Pro" 0 
  1548. 3 54 117 10 1012 1342177280 "static" "to arrange or format your document." 0 
  1549. 14 newnow
  1550. 2 201 1
  1551. 16 setpagelayout
  1552. 6 0
  1553. 15
  1554. 9
  1555. 14 modframe
  1556. 0 265 "framecount"
  1557. 13
  1558. 8 1
  1559. 0 795 &2 &3 &5 &6 &7 &8 &9 &10 &11
  1560. 6 1
  1561. 5 1.60
  1562. 4 0
  1563. 5 1440
  1564. 4 0
  1565. 8 5
  1566. 2 403 1 2 100 1 "1.80" "1.34" 0
  1567. 2 421 1
  1568. 2 416 1 1 2 1 12763842 16777215 12763842 0 0 57 57
  1569. 2 417 1 536936640 0 ""
  1570. 2 418 1 2664 2001 4608 1440 0 0 0 0 1
  1571. 2 418 1 2666 2000 "{5}" "{6}" "{7}" "{8}" "{9}" "{10}" "{11}"
  1572. 2 420 1
  1573. 6 0
  1574. 15
  1575. 9
  1576. 14 setpagelayout
  1577. 2 361 1 512
  1578. 0 286 "intl" "sCountry"
  1579. 13
  1580. 8 1
  1581. 6 1
  1582. 7 "United States"
  1583. 18 1
  1584. 6 1
  1585. 7 "Canada"
  1586. 18 1
  1587. 1 1
  1588. 11 00000174
  1589. 2 362 1 16833 11908 1 4
  1590. 10 00000199
  1591. 2 362 1 15840 12240 1 1
  1592. 2 376 1
  1593. 6 0
  1594. 15
  1595. 9
  1596. 14 onmenu
  1597. 5 0
  1598. 8 4
  1599. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1600. 13
  1601. 8 7
  1602. 0 284 "user,GetMenu,HH" "{7}"
  1603. 13
  1604. 8 8
  1605. 0 284 "user,GetMenuItemCount,HH" "{8}"
  1606. 13
  1607. 8 9
  1608. 6 9
  1609. 5 1
  1610. 18 5
  1611. 11 00000261
  1612. 0 3 "Cannot locate the menu bar." "Ami Pro Collect & Copy"
  1613. 10 00002241
  1614. 5 0
  1615. 8 10
  1616. 6 9
  1617. 5 1
  1618. 3 1
  1619. 6 10
  1620. 18 2
  1621. 12 00000360
  1622. 10 00000561
  1623. 5 1
  1624. 6 10
  1625. 3 0
  1626. 8 10
  1627. 10 00000272
  1628. 0 284 "user,GetMenuString,HHHFHH" "{8}" "{10}" &4 25 1024
  1629. 0 14 "{0}"
  1630. 13
  1631. 8 11
  1632. 0 806 "{4}" "{11}"
  1633. 13
  1634. 0 18 [X]
  1635. 13
  1636. 0 806 "{0}" "{11}"
  1637. 13
  1638. 0 18 [X]
  1639. 13
  1640. 18 0
  1641. 11 00000548
  1642. 6 10
  1643. 8 12
  1644. 10 00000325
  1645. 0 284 "user,GetSubMenu,HHH" "{8}" "{12}"
  1646. 13
  1647. 8 13
  1648. 5 0
  1649. 8 14
  1650. 5 0
  1651. 8 5
  1652. 5 0
  1653. 8 6
  1654. 0 284 "user,GetMenuItemCount,HH" "{13}"
  1655. 13
  1656. 8 15
  1657. 6 15
  1658. 5 1
  1659. 18 5
  1660. 11 00000802
  1661. 0 3 "Cannot locate the correct menu." "Ami Pro Collect & Copy"
  1662. 10 00002241
  1663. 5 0
  1664. 8 10
  1665. 6 15
  1666. 5 1
  1667. 3 1
  1668. 6 10
  1669. 18 2
  1670. 12 00000902
  1671. 10 00001223
  1672. 5 1
  1673. 6 10
  1674. 3 0
  1675. 8 10
  1676. 10 00000813
  1677. 0 284 "user,GetMenuString,HHHFHH" "{13}" "{10}" &4 25 1024
  1678. 0 14 "{1}"
  1679. 13
  1680. 8 16
  1681. 0 14 "{4}"
  1682. 13
  1683. 8 17
  1684. 6 17
  1685. 5 1
  1686. 18 5
  1687. 6 5
  1688. 5 0
  1689. 18 0
  1690. 1 1
  1691. 11 00001079
  1692. 6 14
  1693. 5 1
  1694. 3 0
  1695. 8 14
  1696. 0 18 "{4}"
  1697. 13
  1698. 8 18
  1699. 0 18 "{1}"
  1700. 13
  1701. 8 19
  1702. 0 808 1 "{18}" "{19}"
  1703. 13
  1704. 5 0
  1705. 18 1
  1706. 11 00001210
  1707. 5 1
  1708. 15
  1709. 9
  1710. 6 10
  1711. 8 5
  1712. 10 00001223
  1713. 10 00000867
  1714. 5 -1
  1715. 15
  1716. 9
  1717. 6 5
  1718. 6 14
  1719. 3 1
  1720. 8 5
  1721. 0 284 "user,GetMenuItemCount,HH" "{13}"
  1722. 13
  1723. 8 20
  1724. 6 20
  1725. 5 1
  1726. 18 5
  1727. 11 00001351
  1728. 10 00002241
  1729. 5 0
  1730. 8 10
  1731. 6 20
  1732. 5 1
  1733. 3 1
  1734. 6 10
  1735. 18 2
  1736. 12 00001451
  1737. 10 00001653
  1738. 5 1
  1739. 6 10
  1740. 3 0
  1741. 8 10
  1742. 10 00001362
  1743. 0 284 "user,GetMenuString,HHHFHH" "{13}" "{10}" &4 25 1024
  1744. 0 14 "{1}"
  1745. 13
  1746. 8 21
  1747. 0 806 "{4}" "{21}"
  1748. 13
  1749. 0 18 [X]
  1750. 13
  1751. 0 806 "{1}" "{21}"
  1752. 13
  1753. 0 18 [X]
  1754. 13
  1755. 18 0
  1756. 11 00001640
  1757. 6 10
  1758. 8 22
  1759. 10 00001416
  1760. 0 284 "user,GetSubMenu,HHH" "{13}" "{22}"
  1761. 13
  1762. 8 23
  1763. 5 0
  1764. 8 14
  1765. 0 284 "user,GetMenuItemCount,HH" "{23}"
  1766. 13
  1767. 8 24
  1768. 6 24
  1769. 5 1
  1770. 18 5
  1771. 11 00001811
  1772. 10 00002241
  1773. 5 0
  1774. 8 10
  1775. 6 24
  1776. 5 1
  1777. 3 1
  1778. 6 10
  1779. 18 2
  1780. 12 00001911
  1781. 10 00002220
  1782. 5 1
  1783. 6 10
  1784. 3 0
  1785. 8 10
  1786. 10 00001822
  1787. 0 284 "user,GetMenuString,HHHFHH" "{23}" "{10}" &4 25 1024
  1788. 0 14 "{2}"
  1789. 13
  1790. 8 25
  1791. 0 14 "{4}"
  1792. 13
  1793. 8 17
  1794. 6 17
  1795. 5 1
  1796. 18 5
  1797. 6 6
  1798. 5 0
  1799. 18 0
  1800. 1 1
  1801. 11 00002088
  1802. 6 14
  1803. 5 1
  1804. 3 0
  1805. 8 14
  1806. 0 806 "{2}" "{25}"
  1807. 13
  1808. 0 18 [X]
  1809. 13
  1810. 0 806 "{4}" "{25}"
  1811. 13
  1812. 0 18 [X]
  1813. 13
  1814. 18 0
  1815. 11 00002207
  1816. 6 10
  1817. 8 6
  1818. 10 00002220
  1819. 10 00001876
  1820. 6 6
  1821. 6 14
  1822. 3 1
  1823. 8 6
  1824. 0 16 "{5}" ", " "{6}" "," "{2}"
  1825. 13
  1826. 8 26
  1827. 0 296 0
  1828. 6 3
  1829. 15
  1830. 9
  1831. 00026600
  1832.